<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>设置</title>
    
    <link href="../css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../css/cw.css"/>
    <script src="../js/global.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/jquery-2.1.4.min.js"></script>
    <script src="../js/mui.min.js"></script>
    <script type="text/javascript" src="../js/public.js" ></script>
    <script type="text/javascript" src="../js/app/update.js" ></script>
    <script type="text/javascript" charset="UTF-8">
      	mui.init();
    </script>
    <style type="text/css">
		.mui-table-view-cell:last-child{margin-top:40px;}
    </style>
</head>
<body>
	<header id="header" class="mui-bar mui-bar-nav">
		<i class="mui-icon mui-icon-back mui-action-back"></i>
		<h1 class="mui-title ">设置</h1>
	</header> 
	<div id="content" class="mui-content">
	<div class="mui-table-view mui-table-view-cell"onclick="openNewpage('me-protocol-text.html')">
		<div class="mui-navigate-right">
		使用协议
		</div>
	</div>
	<div class="mui-table-view mui-table-view-cell"onclick="openNewpage('me-abut-text.html')">
		<div class="mui-navigate-right">
		关于我们
		</div>
	</div>
	<div class="mui-table-view mui-table-view-cell feedback">
		<div class="mui-navigate-right">
		问题反馈
		</div>
	</div>
	<div class="mui-table-view mui-table-view-cell set-up-genxin" id="toastBtn">
		<div class="mui-navigate-right">
		更新版本
		</div>
	</div>
	<div class="mui-table-view mui-table-view-cell set-up-genxin share" onclick="openNewpage('set-app.html')">
		<div class="mui-navigate-right">
		分享APP
		</div>
	</div>
	<div class="mui-table-view mui-table-view-cell set-up-tuichu">
		<div class="mui-navigate-right">
		退出账号
		</div>
	</div>
	</div>
</body>
<script type="text/javascript">
document.addEventListener('plusready',function(){
	$('.feedback').on('tap', function(){
		openNewpage('me-problem-feedback.html');
	})
	$('.set-up-tuichu').on('tap',function(){
		mui.confirm('确认退出账号？', ' ', ['否', '是'], function(e) {
			if (e.index == 1) {
				plus.storage.clear();
				//storarage //登出腾讯云
		        window.plus.bridge.exec("xiangyu","txloginout",[]);
				plus.webview.create('me-login.html','me-login.html',{},{spage:1}).show('slide-in-right');
			}
		})
	})
},false)
</script>

</html>